﻿using System;

public delegate int DelegateOP(int x);
class Dele2
{
	static int Quadrado(int x)
    {
        Console.WriteLine("nada faz");
        return x*x; 
    }
    static int Cubo(int x)
	{
        return x * x * x;
	}
    static void Main()
    {
        DelegateOP OP = Quadrado;
        Op += Cubo;
        int z = Op(3);
        Console.WriteLine(z);
        Console.ReadLine();
    }
}
